home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Search(REL2) ARP User's Manual Search(REL2)
-
-
-
- NAME
- Search - Search a file or files for a name or pattern.
-
- SYNOPSIS
- Search FROM,SEARCH/A,ALL/S
-
- Description
- By default (no FROM string supplied) Search looks at all
- files in the current directory for the SEARCH string or
- pattern. You may supply a directory as the From string as
- well as a wildcard pattern specifying the directories to
- search. If you also specify the ALL switch, Search will
- also look in all the sub-directories of that branch of the
- directory tree.
-
- The ARP Search also allows you to specify a wildcard pattern
- as the search string, which the BCPL original did not. This
- makes the ARP Search usable. Like the BCPL Search, case is
- ignored in both specific strings and patterns. To supply
- spaces in a search pattern, as always, you must supply
- quotes around the pattern.
-
- Search will display the name of the file (only once, at the
- start of its search) and, if a SEARCH match is found, it
- will display the line with the match, along with the line
- number.
-
- To abort the search, hit CONTROL-C. To abort the current
- file, and proceed to the next in the list, type CONTROL-D.
-
- EXAMPLES
- Search SYS:INCLUDE/exec/*.h SIG?_*
-
- The command line above demonstrates the use of wildcard
- patterns in both the FROM and the SEARCH string positions.
- This will cause Search to look for at all files in
- SYS:INCLUDE/exec which end with the characters '*.h', for
- all strings which begin with the three characters 'SIG',
- followed by any character, followed by an underscore,
- followed by anything.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 2/22/88)
-
-
-
-